package com.kingyun.gpsinspection.purificationservice.facade.service.iam.adm;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm.AutoInfo;

/**
 * Created by yangsy on 2016/12/15.
 */
public interface AutoInfoService {

    int deleteByPrimaryKey(String autoId);

    int insert(AutoInfo record);

    int insertSelective(AutoInfo record, String uploadFiles, String deletedFiles);

    /**
     * 查询车辆信息
     * @param autoId 主键
     * @return
     */
    AutoInfo selectByPrimaryKey(String autoId);

    int updateByPrimaryKeySelective(AutoInfo record, String uploadFiles, String deletedFiles);

    int updateByPrimaryKey(AutoInfo record);

    JSONObject list(BootstrapSearchBean bootstrapSearchBean);
}
